package com.ae.mapper;

import com.ae.pojo.QueryVo;
import com.ae.pojo.Speaker;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpeakerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Speaker record);

    int insertSelective(Speaker record);

    Speaker selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Speaker record);

    int updateByPrimaryKey(Speaker record);

    List<Speaker> findAllSpeaker();

    List<Speaker> findAllSpeaker(QueryVo queryVo);

    Integer getTotalCount();

    int deleteSpeaker(Integer id);

    Speaker findById(Integer id);

}